home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 2: CDPD 1
/
Almathera Ten on Ten - Disc 2: CDPD 1.iso
/
pd
/
201-225
/
222
/
plplot
/
examples
/
readme
< prev
Wrap
Text File
|
1995-03-13
|
2KB
|
29 lines
This directory contains the source code for some example programs
that use the PLPLOT library. Logarithmic axes, 3-D plotting, contour
plotting, axis redefinition, etc., are all illustrated.
You will need to compile these programs and link them with the library.
An execute script that creates the executable file
and runs the program is included. The PLPLOT disk (as distributed) is
nearly full, so the executable is stored in ram.
Examine this script to see how
to link your own programs with the PLPLOT library (or read the
documentation). The script assumes that the PLPLOT
library is in sys:plplot/lib (and that you have the Lattice C compiler
of course). As an example of its use, if you want to run
the example program example01.c just type "execute CompExam 01" (without
the quotes).
Each program creates multiple plots. After one drawing is
complete just hit the carriage return to advance to the next graph
(or select Continue from the Graphics Control Menu).
After the last graph is displayed, a carriage return will close the
screen and end the program (selecting Continue from
the menu will do the same thing). When graphics are being drawn on
the screen only two menu selections are enabled, the Interrupt
selection (selected from the menu or by hitting Control-C) and the
Screen to Back selection (under the Screen Control menu).
After interrupting you can either continue, clear the screen, send the
screen to the back, or close the screen (which aborts the program).